FROM amazoncorretto:8-alpine-jdk

RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
RUN apk del -r amazon-corretto-8-jre
RUN apk update && apk upgrade
RUN apk add amazon-corretto-8-jre

